<script setup>

import { useRoute, useRouter } from 'vue-router'
const route = useRoute()
const router = useRouter()
const active = () => {
  console.log(router);

}
</script>

<template>
  <main>
    <h2>这是home</h2>
    <button @click="active"> 我是按钮</button>
    <el-row>
      <el-button :icon="Search" circle />
      <el-button type="primary" :icon="Edit" circle />
      <el-button type="success" :icon="Check" circle />
      <el-button type="info" :icon="Message" circle />
      <el-button type="warning" :icon="Star" circle />
      <el-button type="danger" :icon="Delete" circle />
    </el-row>
  </main>
</template>
